package com.ims.entity;

import javax.persistence.*;
import java.util.Date;

@Entity
@Table(name = "stipend")
public class StipendEntity {
    @Id
    private Integer id;
    private Integer planAmount;
    private String level;
    private String time;
    private Integer sum;

    @ManyToOne
    @JoinColumn
    private StudentBaseEntity student;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public StudentBaseEntity getStudent() {
        return student;
    }

    public void setStudent(StudentBaseEntity student) {
        this.student = student;
    }

    public Integer getPlanAmount() {
        return planAmount;
    }

    public void setPlanAmount(Integer planAmount) {
        this.planAmount = planAmount;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public Integer getSum() {
        return sum;
    }

    public void setSum(Integer sum) {
        this.sum = sum;
    }
}
